<html xmlns:th="http://www.thymeleaf.org/" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<div class="layui-side layui-bg-black">
    <div class="layui-side-scroll">
        <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
        <ul class="layui-nav layui-nav-tree"  lay-filter="test">
            <span shiro:hasRole="user">

                 <li class="layui-nav-item">
                <!--<a class="" href="javascript:;">客户订单管理</a>-->
                <!--<dl class="layui-nav-child">-->
                    <div shiro:hasAllPermissions="orderDe:list">
                            <dd><a th:href="@{/pages/back/orderDe/listSplitPre}">待审核订单</a></dd>
                        </div>
                    <div shiro:hasAllPermissions="orderDe:list">
                            <dd><a th:href="@{/pages/back/orderDe/listSplitPre1}">已审核订单</a></dd>
                        </div>
                    <div shiro:hasAllPermissions="orderDe:list">
                            <dd><a th:href="@{/pages/back/orderDe/listSplitPre2}">已完结订单</a></dd>
                        </div>
                <!--</dl>-->
            </li>
                <li class="layui-nav-item">
                <a class="" href="javascript:;">安全设置</a>
                <dl class="layui-nav-child">
                    <dd><a th:href="@{/pages/back/admin/updatePasswordPre}">修改密码</a></dd>
                </dl>
            </li>
            </span>

            <span shiro:hasRole="admin">
                <li class="layui-nav-item">
                <a class="layui-icon layui-icon-form" href="javascript:;">员工信息管理</a>
                <dl class="layui-nav-child">
                    <div shiro:hasAnyPermissions="admin:add">
                        <dd><a th:href="@{/pages/back/admin/addPre}">增加员工</a></dd>
                    </div>
                    <div shiro:hasAllPermissions="admin:list">
                            <dd><a th:href="@{/pages/back/admin/listSplitPre}">查询员工</a></dd>
                    </div>
                     <div shiro:hasAllPermissions="admin:comment">
                            <dd><a th:href="@{/pages/back/comment/staffPre}">员工意见</a></dd>
                    </div>
                </dl>
                </li>

                <li class="layui-nav-item">
                <a class="layui-icon layui-icon-form" href="javascript:;">客户信息管理</a>
                <dl class="layui-nav-child">
                    <div shiro:hasAllPermissions="customer:list">
                            <dd><a th:href="@{/pages/back/customer/listSplitPre}">查询客户</a></dd>
                        </div>
                    <div shiro:hasAllPermissions="customer:comment">
                            <dd><a th:href="@{/pages/back/comment/commentListPre}">客户意见</a></dd>
                        </div>
                </dl>
            </li>

                 <li class="layui-nav-item">
                <a class="layui-icon layui-icon-form" href="javascript:;">客户订单管理</a>
                <dl class="layui-nav-child">
                    <div shiro:hasAllPermissions="orderDe:list">
                            <dd><a th:href="@{/pages/back/orderDe/listSplitPre2}">已完结订单</a></dd>
                        </div>
                </dl>
            </li>

                 <li class="layui-nav-item">
                <a class="layui-icon layui-icon-form" href="javascript:;">线路信息管理</a>
                <dl class="layui-nav-child">
                    <div shiro:hasAnyPermissions="line:add">
                        <dd><a th:href="@{/pages/back/line/addPre}">增加线路</a></dd>
                    </div>
                    <div shiro:hasAllPermissions="line:list">
                            <dd><a th:href="@{/pages/back/line/listSplitPre}">查询线路</a></dd>
                        </div>
                </dl>
            </li>
            <li class="layui-nav-item">
                <a class="layui-icon layui-icon-form" href="javascript:;">车辆信息管理</a>
                <dl class="layui-nav-child">
                    <div shiro:hasAnyPermissions="cars:add">
                        <dd><a th:href="@{/pages/back/cars/addPre}">增加车辆</a></dd>
                    </div>
                    <div shiro:hasAllPermissions="cars:list">
                            <dd><a th:href="@{/pages/back/cars/listSplitPre}">查询车辆</a></dd>
                        </div>
                </dl>
            </li>
                <li class="layui-nav-item">
                <a class="layui-icon layui-icon-form" href="javascript:;">车队信息管理</a>
                <dl class="layui-nav-child">
                    <div shiro:hasAnyPermissions="fleet:add">
                        <dd><a th:href="@{/pages/back/fleet/addPre}">增加车队</a></dd>
                    </div>
                    <div shiro:hasAllPermissions="fleet:list">
                            <dd><a th:href="@{/pages/back/fleet/listPre}">查询车队</a></dd>
                        </div>
                </dl>
            </li>
            <li class="layui-nav-item">
                <a class="layui-icon layui-icon-form" href="javascript:;">货物类型管理</a>
                <dl class="layui-nav-child">
                    <div shiro:hasAnyPermissions="item:add">
                        <dd><a th:href="@{/pages/back/item/addPre}">增加货物类型</a></dd>
                    </div>
                    <div shiro:hasAllPermissions="item:list">
                            <dd><a th:href="@{/pages/back/item/listPre}">查询货物类型</a></dd>
                        </div>
                </dl>
            </li>

                <li class="layui-nav-item">
                <a class="layui-icon layui-icon-form" href="javascript:;">收支对账管理</a>
                <dl class="layui-nav-child">
                    <div shiro:hasAnyPermissions="account:admin">
                        <dd><a th:href="@{/pages/back/orderDe/caccountListPre}">客户对账</a></dd>
                    </div>
                    <div shiro:hasAllPermissions="account:customer">
                            <dd><a th:href="@{/pages/back/orderDe/aaccountListPre}">司机对账</a></dd>
                        </div>
                </dl>
            </li>

                <li class="layui-nav-item">
                <a class="layui-icon layui-icon-form" href="javascript:;">权限日志管理</a>
                <dl class="layui-nav-child">
                    <div shiro:hasAnyPermissions="admin:log">
                        <dd><a th:href="@{/pages/back/log/customerPre}">用户管理</a></dd>
                    </div>
                    <div shiro:hasAnyPermissions="admin:log">
                        <dd><a th:href="@{/pages/back/log/driverPre}">司机管理</a></dd>
                    </div>
                     <div shiro:hasAnyPermissions="admin:log">
                        <dd><a th:href="@{/pages/back/log/systemPre}">系统管理</a></dd>
                    </div>
                    <div shiro:hasAllPermissions="admin:log">
                        <dd><a th:href="@{/pages/back/log/adminPre}">管理员管理</a></dd>
                    </div>
                </dl>
            </li>

                 <li class="layui-nav-item">
                <a class="layui-icon layui-icon-chart" href="javascript:;">数据统计</a>
                <dl class="layui-nav-child">
                    <div shiro:hasAllPermissions="record:analyse">
                        <dd><a th:href="@{/pages/back/record/destinationPre}">运输目的地</a></dd>
                    </div>
                </dl>
                <dl class="layui-nav-child">
                    <div shiro:hasAllPermissions="record:analyse">
                        <dd><a th:href="@{/pages/back/record/StatusPre}">运输状态</a></dd>
                    </div>
                </dl>
                <dl class="layui-nav-child">
                    <div shiro:hasAllPermissions="record:analyse">
                        <dd><a th:href="@{/pages/back/record/aaccountStatusPre}">司机对账</a></dd>
                    </div>
                </dl>
                <dl class="layui-nav-child">
                    <div shiro:hasAllPermissions="record:analyse">
                        <dd><a th:href="@{/pages/back/record/caccountStatusPre}">客户对账</a></dd>
                    </div>
                </dl>
                </li>

            </span>
        </ul>
    </div>
</div>
</html>